from django.conf import settings
from django.conf.urls import patterns, url
import views

urlpatterns = patterns( '',
    url( r'^carga_formulario_pais/(?P<pais_informe_param>[A-Z]+)/$', views.formulario, name = 'nuevo_formulario' ),
    url( r'^carga_formulario_pais/(?P<pais_informe_param>[A-Z]+)/(?P<pk_informe_param>\d+)/$', views.formulario, name = 'editar_informes' ),
    url( r'^ver_informes_pais/(?P<pk_informe>\d+)/$', views.ver_informes, name = 'ver_informes' ),
    url( r'^listar_informes_pais/$', views.listar_paises_segun_region, name = 'listar_informes' ),
    url( r'^vista_publica_informes_pais/$', views.vista_publica_informes_pais, name = 'vista_informes_pais' ),
    url( r'^ver_informes_pais_anteriores/(?P<pais_informe_param>[A-Z]+)/$', views.ver_informes_pais_anteriores, name = 'ver_informes_pais_anteriores' ),
    url( r'^ajax_control_periodo/$', views.ajax_control_periodo , name = 'ajax_control_periodo' ),
 )
